<template>
    <div>
        <!-- <p>当前数量为：{{$store.state.count}}</p> -->
       <!-- 用getters 获取数据 -->
        <p>{{$store.getters.optCount}}</p>
    </div>
</template>
<script>
export default {
    
}
</script>
<style>
    
</style>